<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title>
			蘑菇街-地址管理
		</title>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<meta name="renderer" content="">
		<meta name="copyright" content="">
		<meta name="robots" content="">
		<link rel="stylesheet" type="text/css" href="<?php echo __PUBLIC__?>/Home/css/pkg-navigation.css" >
		<!-- <link rel="stylesheet" type="text/css" href="<?php echo __PUBLIC__?>/Home/css/module-captcha.css" > -->
		<link rel="stylesheet" type="text/css" href="<?php echo __PUBLIC__?>/Home/css/page-muorder-common.css" >
		<script type="text/javascript" src="<?php echo __PUBLIC__?>/jquery-1.8.js"></script>
		<link rel="stylesheet" href="<?php echo __PUBLIC__?>/hdjs/hdjs.css" />
		<script type="text/javascript" src="<?php echo __PUBLIC__?>/hdjs/hdjs.min.js"></script>
		
		<!--右侧导航栏-开始-->
	</head>
	<!--载入公共模板 头部-->
	<!-- 公共头部 -->
<body class="media_screen_1200">
	<!--右侧导航栏-->
	<div style="right: 0px;" class="mgj_rightbar">
		<!--空的右侧边栏-->
		<div id="mgj_rightbar_top_blank" class="mgj_rightbar_960">
		</div>
		<!--方便定margin的空div-->
		<div id="mgj_rightbar_blank_div">
		</div>
		<!--用户头像-->
		<!--购物车-->
		<div style="left: 0px;" class="sidebar-item mgj-my-cart">
			<a target="_blank" href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Cart&a=index" >
				<i class="s-icon">
				</i>
				<div class="s-txt">
					购物车
				</div>
				<div class="num">
					
				</div>
			</a>
		</div>
		
		<!--钱包-->
		<div class="sidebar-item mgj-my-wallet">
			<a target="_blank" href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Member&a=wallet">
				<i class="s-icon">
				</i>
				<!--我的钱包-->
				<div class="s-txt">
					钱包
				</div>
			</a>
		</div>
		<!--足迹-->
		<div class="sidebar-item mgj-my-browserlog">
			<a target="_blank" href="">
				<i class="s-icon">
				</i>
				<!--我的足迹-->
				<div class="s-txt">
					足迹
				</div>
			</a>
		</div>
		<!--返回顶部-->
		<div class="sideBottom">
			<div class="sidebar-item mgj-back2top show" style="left: 0px;">
				<a href="javascript:;">
					<i class="s-icon">
					</i>
				</a>
			</div>
		</div>
	</div>
	<!--右侧导航栏-结束->
	<!--顶部开始-->
	<div id="header" class="header_2015">
		<div class="wrap clearfix">
			<!-- 顶通 -->
			<a href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Index&a=index" class="home fl">
				蘑菇街首页
			</a>
			<ul class="header_top">
<!-- ================== -->
				<!-- 如果用户没有登录那就显示登录注册 -->
								<!-- 如果用户已经登录那就显示用户的信息 -->
				<!-- 登陆之后出现 -->
				<li class="s1 has_icon user_meta haahah">
					<!-- 用户昵称 -->
					
					<a style="color:red;" href="javascript:;" >
						lpf					</a>

					<!-- 等级 -->
					<a target="_blank" href="" >
						<span class="level level0">
						</span>
					</a>
					<i class="icon_delta">
					</i>
					<ol id="menu_personal" class="ext_mode">
						<li class="s2">
							<a href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Member&a=accountSettings"  target="_blank" >
								个人设置
							</a>
						</li>
						
						<!-- 退出登录 -->
						<li class="s2">
							<a href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=User&a=out"  >
								退出
							</a>
						</li>
					</ol>
				</li>
				<!-- ===================== -->
				<li class="s1 has_line message_center">
					<a class="ext_module mogutalk_btn J_msg open_msg micon __trace__"  href="javascript:;" rel="nofollow" >
						消息
						<span class="num m_num" style="display: none;">
						</span>
					</a>
				</li>
				<!-- <li class="s1 has_icon has_line user_fav">
					<a href="javascriot:;" >
						我的收藏
					</a>
					<i class="icon_delta">
					</i>
					<ul class="ext_mode">
						<li class="s2">
							<a href=""  target="_blank" >
								收藏的商品
							</a>
						</li>
						<li class="s2">
							<a href="" target="_blank" >
								收藏的小店
							</a>
						</li>
						<li class="s2">
							<a href=""  target="_blank" >
								浏览足迹
							</a>
						</li>
					</ul>
				</li> -->
				
               				<!-- ======= -->
				<!--我的订单-->
				<li class="s1 myorder has_line">
					<a href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Member&a=index" target="_blank" class="text display_u">
						我的订单
					</a>
				</li>
				<!--我的订单--结束-->
				<!--我的购物车-开始-->
				<li class="s1 has_line shopping_cart_v2">
					<a class="cart_info_wrap" href="" target="_blank">
						<span class="cart_info">购物车</span>
					</a>
					<i class="icon_delta">
					</i>
					<!-- ==== -->
					<!-- 顶部购物车效果 -->
					<script type="text/javascript">
							$(function(){
								$('.shopping_cart_v2').mouseover(function() {
									$('.shop_cart_info').css({display:"block"});
								});
								$('.shopping_cart_v2').mouseout(function() {
									$('.shop_cart_info').css({display:"none"});
								});
							})

					</script>
					<!-- ===== -->
					<!-- <div style="" class="shop_cart_info">
						<ul>
							<li>
								<a href="" target="_blank" class="imgbox">
									<img src="http://127.0.0.1/c_57_shop/my_store/Public/Home/images/1zlav6_ifrgim3dgvqtcyrqguzdambqmeyde_640x960.jpg_100x100.jpg" alt="" width="45">
								</a>
								<a href="" target="_blank" class="title">
									加厚毛领羽绒服衣外套
								</a>
								<span class="info">颜色：米白 尺码：M</span>
								<span class="price">¥244.30</span>
								<span class="del">删除</span>
							</li>
						</ul>
						<div class="subbox">
							<div class="fr">
								<a href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Cart&a=index" target="_blank" class="goel">
									查看购物车
								</a>
							</div>
						</div>
					</div> -->
					<!--如果是空的那就显示-->
					<div style="" class="shop_cart_info">
						<ul>
							<li>
								<span class="info">购物车还是空的的!!</span>
								<span>赶快来添加属于你的宝贝吧!</span>
							</li>
						</ul>
					</div>
					<!-- ======================================== -->
				</li>
				<!--我的购物车结束-->
				<!--客户服务-开始-->
				<li class="s1 has_line has_icon custom_item">
					<a rel="nofollow" href=""  target="_blank">
						客户服务
					</a>
					<i class="icon_delta">
					</i>
					<ol class="ext_mode">
						<li class="s2">
							<a target="_blank"  href="">
								联系合作
							</a>
						</li>
						<li class="s2">
							<a  href="" target="_blank">
								帮助
							</a>
						</li>
					</ol>
				</li>
				
			</ul>
		</div>
	</div>
	<!--顶部结束-->
	<!-- 中间区域 -->
	<div class="header_mid clearfix">
		<div class="wrap">
			<a  href="http://127.0.0.1/c_57_shop/my_store/index.php?m=Home&c=Index&a=index" class="logo" >
			</a>
			<div class="normal-search-content">
				<!--顶部隐藏搜索框-->
				<div class="top_nav_search" id="nav_search_form">
					<!---->
					<!--搜索框 -->
					<div class="search_inner_box clearfix">
						<div class="selectbox" >
							<span class="selected">搜商品</span>
							<ol>
								<li class="current" >
									<a href="#">
										商品
									</a>
								</li>
								<li data-index="shop">
									<a href="#">
										店铺
									</a>
								</li>
							</ol>
						</div>
						<!---------------------------搜索框-------------->
						<form action="" method="" id="top_nav_form">
							<input  name="q" class="ts_txt fl"  value="" type="text">
							<input value="搜  索" class="ts_btn" type="submit">
							<input name="t" value="bao" id="select_type" type="hidden">
						</form>
						<!-------------------------->
						<div style="display:none;" class="top_search_hint">
						</div>
					</div>
					<div class="ts_hotwords">
						<a  class="ts_hotword" style="color: #999999 " href="">
							呢外套
						</a>
						<a class="ts_hotword" style="color: #999999 " href="">
							风衣
						</a>
						<a class="ts_hotword" style="color: #999999 " href="">
							羽绒服
						</a>
						<a  class="ts_hotword" style="color: #999999 " href="">
							运动鞋
						</a>
						<a  class="ts_hotword" style="color: #999999 " href="">
							卫衣
						</a>
						<a class="ts_hotword" style="color: #999999 " href="">
							雪地靴
						</a>
						<a  class="ts_hotword" style="color: #999999 " href="">
							家居服
						</a>
						<a  class="ts_hotword" style="color: #999999 " href="">
							新款女包
						</a>
						<a class="ts_hotword" style="color: #999999 " href="">
							毛衣
						</a>
					</div>
				</div>
			</div>
		
			
		</div>
	</div>

	<div id="body_wrap">
		<div id="body" class="fm960">
			<div class="mu_wrap clearfix">
				<div class="mu_nav_wrap">
					<!-- 导航 -->
					<link rel="stylesheet" href="<?php echo __PUBLIC__?>/Home/css/level.css">
					<!--左侧个人信息-->
					<?php foreach ($userData as $u){?>
					<div class="mu_nav_info">
						<!--用户头像-->
						<div class="mu_nav_info_avatar">
							<div class="mu_nav_info_avatar_mk">
							</div>
							<img src="<?php echo __ROOT__?>/<?php echo $u['avatar']?>" alt=""  height="100" width="100">
						</div>
						<!--用户名称-->
						<p class="mu_nav_info_uname">
							<?php echo $u['nickname']?>
						</p>
						<a target="_blank" style="width:45px;" class="mu_nav_info_ulot" href="">
							<span id="vip_level" class="vip_level0" style="float:left;width: 45px; display: inline-block; height: 14px; margin-top: 3px;">
							</span>
						</a>
					</div>
					<?php }?>
					<!--个人信息结束-->
					<!--左侧导航-开始-->
					<dl class="mu_nav">
						<dt>
							我的订单
						</dt>
						<dd>
							<a href="<?php echo U('Member/index')?>">
								全部订单
							</a>
						</dd>
						
						
					</dl>
					<!--我订单结束-->
					<!--我的钱包-->
					<dl class="mu_nav">
						<dt>
							<a href="<?php echo U('Member/wallet')?>">
								我的钱包
							</a>
						</dt>
					</dl>
					<!--地址管理-->
					<dl class="mu_nav">
						<dt>
							<a href="<?php echo U('Member/address')?>">
								地址管理
							</a>
						</dt>
					</dl>
				
					<!--个人账号管理-->
					<dl class="mu_nav pb40">
						<dt>
							帐号设置
						</dt>
						<dd>
							<a href="<?php echo U('Member/accountSettings')?>">
								基本信息
							</a>
						</dd>
						<dd>
							<a href="<?php echo U('Member/change')?>">
								修改密码
							</a>
						</dd>
					</dl>
					<!--导航结束-->
				</div>
				<!---------------城市联动---------------------->
<script class="resources library" src="<?php echo __PUBLIC__?>/Home/js/area.js" type="text/javascript"></script>
 <script type="text/javascript">
			var Gid  = document.getElementById ;
			var showArea = function(){
				Gid('show').innerHTML = "<h3>省" + Gid('s_province').value + " - 市" + 	
				Gid('s_city').value + " - 县/区" + 
				Gid('s_county').value + "</h3>"
				}
		Gid('s_county').setAttribute('onchange','showArea()');
</script>
				<!-------------------->
				<div class="mu_content_wrap">
					<div class="addr_right topay" >
						<h2 class="addr_title">
							地址管理
						</h2>
						<div class="addr_edit" id="J_s_addr_edit">
							<div class="">
								<span id="J_saddAddress">+添加地址</span>
							</div>
<!--表单-->
							<form action="" method="post">
								<div class="addressbox_warp">
									<div class="__addressPop">
										<dl class="address_pop">
											<dt>
												省：
											</dt>
											<dd class="pt_ie6hack hd-table hd-table-form hd-form">
												<i class="needicon">*</i>
												<select id="s_province" name="s_province"  >
												</select>  
												</select>
												<label class="dt" for="">市：</label>
												<select id="s_city" name="s_city" >
												</select>  
												</select>
												<label class="dt" for="">区：</label>
												<select id="s_county" name="s_county">
												</select>
												</select>
												<!--====================-->
												<script type="text/javascript">_init_area();</script>
	                   							<div id="show"></div>
												<!--============================-->
												<span class="prompt">
												</span>
											</dd>
											<dt>
												邮政编码：
											</dt>
											<dd>
												<i class="needicon">*</i>
												<input class="text formsize_normal J_postcode J_form vm" name="postcode" type="text">
												<span class="prompt">
												</span>
											</dd>
											<dt>
												街道地址：
											</dt>
											<dd>
												<i class="needicon">*</i>
												<textarea  class="textarea formsize_large" name="address" cols="30" rows="3" placeholder="请填写街道地址，最少5个字，最多不能超过100个字"></textarea>												
           
											</dd>
											<dt>
												收货人姓名：
											</dt>
											<dd>
												<i class="needicon">*</i>
												<input  class="text " name="username" type="text">
												<span class="prompt">
												</span>
											</dd>
											<dt>
												手机：
											</dt>
											<dd>
												<i class="needicon">*</i>
												<input data-type="phone"  class="text" name="phone" type="text">
												<span class="prompt">
												</span>
											</dd>
											<dt>
											</dt>
											<dd class="">
												<input type="submit" class="hd-btn hd-btn-primary hd-btn-xm" value="提交"></input>
											</dd>
										</dl>
									</div>
								</div>
							</form>
							<!--如果有地址就显示地址-->
							
							<div style="display:;" class="addr_section default" >
							<?php foreach ($addressData as $v){?>
								<ul class="clearfix">
									<li class="name"><?php echo $v['username']?></li>
									<li class="addr"><?php echo $v['address']?></li>
									<li class="zcode"><?php echo $v['postcode']?></li>
									<li class="mobile"><?php echo $v['phone']?></li>
									<li class="oper">
										<a href="javascript:;" class="J_default">默认地址</a>
										<a href="" class="edit">编辑</a>
										<a href="javascript:;" class="del" onclick="if(confirm('确定删除吗？？'))location.href='<?php echo U('Member/delAddress',array('uaid'=>$v['uaid']))?>'">删除</a>
									</li>
									<li class="enaddr">
									</li>
								</ul>
								<?php }?>
							</div>
								<!-- ============= -->
							
							<!-- ============== -->
							
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--底部-->
	<!-- 载入公共底部 -->
	<!-- 公共底部文件 -->
<div class="foot J_footertimer" data-ptp="_foot" data-svrtime="1447789778">
	<div class="wrap foot_wrap clearfix">
		<div class="foot_info">
			<a  class="info_logo" href="">
			</a>
			<div class="info_text">
				<p>
					营业执照注册号：
					<a  href="" target="_blank">
						330106000129004
					</a>
				</p>
				<p>
					增值电信业务经营许可证：
					<a  href="" target="_blank">
						浙B2-20110349
					</a>
				</p>
				<p>
					ICP备案号：浙ICP备10044327号-3
				</p>
				<p class="mgjhostname" title="guomai31082">
					©2015 Mogujie.com 杭州卷瓜网络有限公司
				</p>
			</div>
		</div>
		<div class="foot_link">
			<dl class="link_company">
				<dt>
					公司
				</dt>
				<dd>
					<a  href="http:://www.mogujie.com" target="_blank">
						关于我们
					</a>
				</dd>
				<dd>
					<a  href="" target="_blank">
						招聘信息
					</a>
				</dd>
				<dd>
					<a  href="" target="_blank">
						联系我们
					</a>
				</dd>
			</dl>
			<dl class="link_consumer">
				<dt>
					消费者
				</dt>
				<dd>
					<a  href="http:://www.mogujie.com" target="_blank">
						帮助中心
					</a>
				</dd>
				<dd>
					<a  href="" target="_blank">
						意见反馈
					</a>
				</dd>
				<dd>
					<a  href="" target="_blank">
						手机版下载
					</a>
				</dd>
			</dl>
			<dl class="link_business">
				<dt>
					商家
				</dt>
				<dd>
					<a href="" target="_blank">
						免费开店
					</a>
				</dd>
				<dd>
					<a href="" target="_blank">
						商家社区
					</a>
				</dd>
				<dd>
					<a href="" target="_blank">
						商家入驻
					</a>
				</dd>
				
			</dl>
			<dl class="link_safe">
				<dt>
					权威认证
				</dt>
				<dd>
					<a  class="pc"  href="javascript:;" target="_blank">
					</a>
					<a  class="pa"  target="_blank" href="javascript:;">
					</a>
					<a  href="javascript:;"  class="kx" target="_blank">
					</a>
				</dd>
			</dl>
		</div>
	</div>
	<div class="wrap foot_wrap w-links clearfix">
		<ul>
			<li>
				友情链接:
			</li>
			<li>
				<a target="_blank" href="http://www.baidu.com">
					百度
				</a>
			</li>
			<li>
				<a target="_blank" href="http://www.jd.com">
					京东
				</a>
			</li>
			<li>
				<a target="_blank" href="http://www.tmall.com">
					天猫
				</a>
			</li>
			<li>
				<a target="_blank" href="http://www.houdunwang.com">
					后盾网
				</a>
			</li>
			
			<li>
				<a target="_blank" href="http:://www.mogjie.com">
					蘑菇街包包
				</a>
			</li>
			<li>
				<a target="_blank" href="http:://www.mogjie.com">
					蘑菇街家居
				</a>
			</li>
			
		</ul>
	</div>
</div>
<script type="text/javascript" src="http://127.0.0.1/c_57_shop/my_store/Public/Home/js/header.js"></script>

	</body>
</html>